]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Fix EmojiSelection:delta range
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 2 Sep 2019 22:25:24 +0000 (00:25 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 3 Sep 2019 01:20:17 +0000 (03:20 +0200)
The setter clamps the values to the range (-width, width), so we
must not limit the property to positive values.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/698

js/ui/keyboard.js

index 462d860c4df1250abccdc30e820f6830b67de9bf..d137d84b6e8ae29dd7c12a4da84ba4fe51c8197d 100644 (file)
@@ -574,7 +574,7 @@ var EmojiPager = GObject.registerClass({
         'delta': GObject.ParamSpec.int(
             'delta', 'delta', 'delta',
             GObject.ParamFlags.READWRITE,
-            0, GLib.MAXINT32, 0)
+            GLib.MININT32, GLib.MAXINT32, 0)
     },
     Signals: {
         'emoji': { param_types: [GObject.TYPE_STRING] },